package com.basker.pisces.core.serialize.xml;

import java.util.Map;

import com.basker.pisces.core.meta.IDataObjectMeta;

public interface IDataContractXmlSerializeHandler {

    static final String TYPE_ATTR_NAME = "type";

    IDataObjectMeta getDataObjectMeta(Object dataObject);

    IDataObjectMeta getDataObjectMeta(String name, Map<String, String> attrs);

    String getDataObjectMetaElementName(IDataObjectMeta dataObjectMeta);

    boolean writeClassName();
}
